Skip to content

Dns config#21

Merged
n3-rd merged 3 commits intomainfrom
dns-config
Feb 17, 2026
Merged

Dns config#21
n3-rd merged 3 commits intomainfrom
dns-config

Conversation

@n3-rd
Copy link
Copy Markdown
Owner

@n3-rd n3-rd commented Feb 17, 2026

This pull request enhances the install.sh script to automatically detect and configure external proxies (nginx and Traefik) when ports 80/443 are already in use. It provides both auto-configuration and manual setup options, improves user guidance, and adds support for Traefik labels and Docker network integration. The script now offers a smoother installation experience for users deploying with existing proxies.

Proxy detection and auto-configuration improvements:

  • Added logic to detect which service (nginx, Traefik, Apache, Caddy, Docker) is using port 80, and set PROXY_AUTO_CONFIG accordingly. Users are prompted to choose auto-config, manual setup, or to free ports if nginx or Traefik is detected.
  • Implemented auto-configuration for nginx: writes site config, reloads nginx, and optionally runs certbot for HTTPS. Falls back to manual instructions if nginx config directories are missing.

Traefik support enhancements:

  • Added Traefik auto-config: discovers Traefik container/network, prompts user if multiple networks, and injects Traefik labels and external network definition into docker-compose.yml. Also detects entrypoint and certresolver from Traefik container args. [1] [2]

User guidance and summary improvements:

  • Improved summary output to indicate whether nginx or Traefik auto-config was used, or if manual external proxy setup is required.
  • Enhanced printed instructions for manual proxy setup, including examples for nginx, Caddy, and Traefik, and clarified TLS handling. [1] [2] [3]

General script improvements:

  • Introduced new variables (PROXY_AUTO_CONFIG, TRAEFIK_CONTAINER, TRAEFIK_NETWORK) and refactored control flow to support the new proxy detection and configuration logic. [1] [2]

These changes make the installer more robust and user-friendly for deployments behind existing proxies.

…tions

- Added automatic detection of services using ports 80/443 and enhanced user prompts for configuring external proxies (Nginx, Traefik).
- Implemented options for auto-configuration based on detected proxies, allowing for easier setup in non-interactive mode.
- Updated messaging to guide users through the selection process for handling HTTPS with their domain.
…script

- Added logic to automatically detect the Traefik container and its associated networks.
- Implemented user prompts for selecting a network when multiple non-bridge networks are found.
- Improved fallback mechanisms for network detection and user interaction in non-interactive mode.
- Updated Docker Compose configuration to dynamically set entrypoints and certresolver based on detected Traefik settings.
…d non-interactive modes

- Added a section for interactive installation using curl, prompting users for configuration options.
- Clarified the non-interactive installation process and provided example commands.
- Removed outdated instructions for interactive mode that were previously included.
@n3-rd n3-rd merged commit b486e96 into main Feb 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant